package com.yikaiye.android.yikaiye.model;

import java.util.List;

public class ServiceDetailsModel {

    /**
     * 企业名称
     */
    private String enterpriseName;
    /**
     * 企业信用代码
     */
    private String creditNo;
    /**
     * 服务开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;
    /**
     * 服务状态：0.代办 1.在办 2.暂停 3.已办结 4.已终止
     */
    private int status;
    /**
     * 服务名称
     */
    private String serviceName;
    /**
     * 服务类型：0.交付 1.周期
     */
    private int serviceType;
    /**
     * 周期类型：0.按次 1.按月 2.按年
     */
    private int cycleType;
    /**
     * 总周期
     */
    private int totalPeriod;
    /**
     * 当前期数
     */
    private int currentPeriod;
    /**
     * 服务属性
     */
    private List<String> serviceAttrList;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 下单时间
     */
    private String submitTime;
    /**
     * 服务说明
     */
    private String instruction;
    /**
     * 服务周期
     */
    private String deadline;

    /**
     * 相关服务
     */
    private List<ServiceRecordsModel.ServiceModel> relServiceList;
    /**
     * 服务进度
     */
    private List<ServiceProgressModel> serviceProgressList;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getCreditNo() {
        return creditNo;
    }

    public void setCreditNo(String creditNo) {
        this.creditNo = creditNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getServiceType() {
        return serviceType;
    }

    public void setServiceType(int serviceType) {
        this.serviceType = serviceType;
    }

    public int getCycleType() {
        return cycleType;
    }

    public void setCycleType(int cycleType) {
        this.cycleType = cycleType;
    }

    public int getTotalPeriod() {
        return totalPeriod;
    }

    public void setTotalPeriod(int totalPeriod) {
        this.totalPeriod = totalPeriod;
    }

    public int getCurrentPeriod() {
        return currentPeriod;
    }

    public void setCurrentPeriod(int currentPeriod) {
        this.currentPeriod = currentPeriod;
    }

    public List<String> getServiceAttrList() {
        return serviceAttrList;
    }

    public void setServiceAttrList(List<String> serviceAttrList) {
        this.serviceAttrList = serviceAttrList;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public String getInstruction() {
        return instruction;
    }

    public void setInstruction(String instruction) {
        this.instruction = instruction;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public List<ServiceRecordsModel.ServiceModel> getRelServiceList() {
        return relServiceList;
    }

    public void setRelServiceList(List<ServiceRecordsModel.ServiceModel> relServiceList) {
        this.relServiceList = relServiceList;
    }

    public List<ServiceProgressModel> getServiceProgressList() {
        return serviceProgressList;
    }

    public void setServiceProgressList(List<ServiceProgressModel> serviceProgressList) {
        this.serviceProgressList = serviceProgressList;
    }

    public static class ServiceProgressModel {
        /**
         * 周期
         */
        private Integer period;
        /**
         * 周期时间
         */
        private String periodDate;
        /**
         * 节点状态：0.待服务 1.服务中 2.已完成
         */
        private Integer status;
        /**
         * 节点信息
         */
        private List<ServiceNodeListModel> serviceNodeList;

        public Integer getPeriod() {
            return period;
        }

        public void setPeriod(Integer period) {
            this.period = period;
        }

        public String getPeriodDate() {
            return periodDate;
        }

        public void setPeriodDate(String periodDate) {
            this.periodDate = periodDate;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public List<ServiceNodeListModel> getServiceNodeList() {
            return serviceNodeList;
        }

        public void setServiceNodeList(List<ServiceNodeListModel> serviceNodeList) {
            this.serviceNodeList = serviceNodeList;
        }
    }

    public static class ServiceNodeListModel {
        /**
         * 周期
         */
        private Integer period;
        /**
         * 节点状态：0.待服务 1.服务中 2.已完成
         */
        private Integer status;
        /**
         * 开始时间
         */
        private String assignTime;
        /**
         * 节点信息
         */
        private List<ServiceNodeModel> nodeList;

        public Integer getPeriod() {
            return period;
        }

        public void setPeriod(Integer period) {
            this.period = period;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getAssignTime() {
            return assignTime;
        }

        public void setAssignTime(String assignTime) {
            this.assignTime = assignTime;
        }

        public List<ServiceNodeModel> getNodeList() {
            return nodeList;
        }

        public void setNodeList(List<ServiceNodeModel> nodeList) {
            this.nodeList = nodeList;
        }
    }

    public static class ServiceNodeModel {
        /**
         * 节点id
         */
        private String id;
        /**
         * 节点状态：0.待服务 1.服务中 2.已完成
         */
        private Integer status;
        /**
         * 节点名称
         */
        private String nodeName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getNodeName() {
            return nodeName;
        }

        public void setNodeName(String nodeName) {
            this.nodeName = nodeName;
        }
    }
}
